package Day003_多态_内部类.demo005引用类型转换;

/**
 * @Author:pengzhilin
 * @Date: 2020/4/17 11:15
 */
public class Dog extends Animal{
    @Override
    public void eat() {
        System.out.println("狗吃骨头...");
    }

    public void lookHome(){
        System.out.println("狗看家...");
    }
}
